package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jingdun.sport.bean.model.RoomAnswerRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RoomAnswerRelationMapper extends BaseMapper<RoomAnswerRelation> {

	public void addRoomAnswerRelation(RoomAnswerRelation roomAnswerRelation);

	public RoomAnswerRelation getRoomAnswerRelationDetail(@Param("params") Map<String, Object> m);

	public List<Map<String,Object>> getPaginationRoomAnswerRelation(Page<Map<String, Object>> page, @Param("params") Map<String, Object> m);

	public void updateRoomAnswerRelation(RoomAnswerRelation roomAnswerRelation);
}